﻿using System.ComponentModel.DataAnnotations;

namespace Yyyg.WebUI.Models
{
    public class AdminVM
    {
        public string Name { get; set; }

        [DataType(DataType.PhoneNumber)]
        [Required(ErrorMessage = "必须输入账号!")]
        public string Mobel { get; set; }

        [DataType(DataType.Password)]
        [Required(ErrorMessage = "必须输入密码!")]
        public string Pwd { get; set; }
    }
}